package com.hawk.eye.server.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hawk.eye.server.domain.dto.req.WhiteListReqDTO;
import com.hawk.eye.server.domain.dto.resp.WhiteListRespDTO;
import com.hawk.eye.server.domain.po.Group;
import com.hawk.eye.server.domain.po.WhiteList;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 【请填写功能名称】Mapper接口
 *
 * @author salad
 * @date 2023-10-04
 */
public interface WhiteListMapper  extends BaseMapper<WhiteList> {

    List<WhiteList> getWhiteList(@Param("serviceId") Long serviceId, @Param("now") LocalDateTime now);

    IPage<WhiteListRespDTO> page(IPage<Object> page,@Param("params") WhiteListReqDTO reqDTO);

}
